<?php
if(!$_COOKIE["q_session"]){
	setcookie("q_session", md5(date("Y-m-d H:i:s")));
}
if(!$_COOKIE["f_session"]){
	setcookie("f_session", md5(date("Y-m")));
}
if(!$c){
	session_start();
	include_once( 'config.php' );
	include_once( 'saetv2.ex.class.php' );
	
	$c = new SaeTClientV2( WB_AKEY , WB_SKEY , $_SESSION['token']['access_token'] );
	
	include_once("functions.php");
}
?>